package com.zp.base.entity.bo;

import com.zp.common.core.entity.BaseEntity;
import com.zp.common.core.validate.AddGroup;
import com.zp.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 诊疗项目业务对象
 *
 * @author zhang peng
 * @date 2023-01-08
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ClinicItemDictBo extends BaseEntity {

    /**
     * 主键
     */
    @NotBlank(message = "主键不能为空", groups = {EditGroup.class})
    private String clinicItemId;

    /**
     * 诊疗项目分类
     */
    @NotBlank(message = "诊疗项目分类不能为空", groups = {AddGroup.class, EditGroup.class})
    private String itemClass;

    /**
     * 诊疗代码
     */
    @NotBlank(message = "诊疗代码不能为空", groups = {AddGroup.class, EditGroup.class})
    private String itemCode;

    /**
     * 诊疗项目名称
     */
    @NotBlank(message = "诊疗项目名称不能为空", groups = {AddGroup.class, EditGroup.class})
    private String itemName;

    /**
     * 执行科室
     */
    private String performedBy;

    /**
     * 拼音码
     */
    private String inputCode;

    /**
     * 机构ID
     */
    @NotBlank(message = "机构ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private String orgId;

    /**
     * 扩展字段1
     */
    private String expand1;

    /**
     * 扩展字段2
     */
    private String expand2;

    /**
     * 扩展字段3
     */
    private String expand3;

    /**
     * 扩展字段4
     */
    private String expand4;

    /**
     * 扩展字段5
     */
    private String expand5;

    /**
     * 备注信息
     */
    private String remark;

    /**
     * 是否餐后
     */
    private String isMeal;

    /**
     * 排序
     */
    private Long sort;

    /**
     * icd9名称
     */
    private String icd9Name;

    /**
     * icd9编码
     */
    private String icd9Code;

    /**
     * 手术id
     */
    private String operationId;

    /**
     * 手术等级
     */
    private String operationRegiste;


}
